package com.bean;

/**
 * Created by mhysa on 2017/2/15.
 */
public class Test {

    /**
     * name : John
     * age : 10
     * address : {"country":"China","province":"Guang Dong","city":"..","district":".."}
     */

    private String name;
    private int age;
    /**
     * country : China
     * province : Guang Dong
     * city : ..
     * district : ..
     */

    private AddressBean address;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public AddressBean getAddress() {
        return address;
    }

    public void setAddress(AddressBean address) {
        this.address = address;
    }

    public static class AddressBean {
        private String country;
        private String province;
        private String city;
        private String district;

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getDistrict() {
            return district;
        }

        public void setDistrict(String district) {
            this.district = district;
        }
    }
}
